package com.yonyou.lxp.account.entity;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by liuxiaopeng on 16/2/28.
 * 类型实体类
 */
@Table(name = "TypeInfo")
public class TypeInfo {

    @Column(name = "t_id", isId = true)
    private int t_id;

    @Column(name = "t_name",property = "UNIQUE")
    public String t_name;

    @Column(name = "t_type")
    public String t_type;//0支出  1收入

    public int getT_id() {
        return t_id;
    }

    public void setT_id(int t_id) {
        this.t_id = t_id;
    }

    public String getT_name() {
        return t_name;
    }

    public void setT_name(String t_name) {
        this.t_name = t_name;
    }

    public String getT_type() {
        return t_type;
    }

    public void setT_type(String t_type) {
        this.t_type = t_type;
    }

    @Override
    public String toString() {
        return t_name;
    }
}
